Skip to content

feat: add pg language server config - #863

Closed
cr4ftx wants to merge 1 commit into
stevearc:masterfrom
cr4ftx:feat-add-pg-language-server-config
Closed

feat: add pg language server config#863
cr4ftx wants to merge 1 commit into
stevearc:masterfrom
cr4ftx:feat-add-pg-language-server-config

Conversation

@cr4ftx

@cr4ftx cr4ftx commented Mar 24, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot requested a review from stevearc March 24, 2026 08:52
@cr4ftx

cr4ftx commented Apr 22, 2026

Copy link
Copy Markdown
Author

Hi @stevearc wdyt about adding this config?

@stevearc

Copy link
Copy Markdown
Owner

conform is meant to be used with formatters that only operate as CLI tools, to provide a graceful way to integrate them with Neovim. The formatter you linked does expose a CLI format command, but it's a full language server. Wouldn't it make more sense for the user to just use it via LSP?

@cr4ftx

cr4ftx commented May 26, 2026

Copy link
Copy Markdown
Author

conform is meant to be used with formatters that only operate as CLI tools, to provide a graceful way to integrate them with Neovim. The formatter you linked does expose a CLI format command, but it's a full language server. Wouldn't it make more sense for the user to just use it via LSP?

I don't understand what you mean as most of the modern CLI tools can expose a LS too (biome, deno, oxc).

I could let the LS format the file but I would need to tweak my nvim config for auto format right?

Edit: adding lsp_fallback = true works, I don't remember why I deactivated it back then

@cr4ftx cr4ftx closed this May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants